<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_表格插入</title>
</head>
<body>
    <table border="1" style="border-collapse: collapse ;" >
        <caption>表格标题</caption>
        <tr>
            <th>表头1</th>
            <th>表头2</th>
            <th>表头3</th>
        </tr>
        <tr style="text-align: center">
            <td>1</td>
            <td>2</td>
            <td>3</td>
        </tr>
        <tr>
            <td style="text-align: center">4</td>
            <td>5</td>
            <td>6</td>
        </tr>
    </table>

    <br>
<table border="1.5" style="border-collapse: collapse ;text-align: center;">
    <tr>
        <td colspan="4">1-1</td>
<!--        <td>1-2</td>-->
<!--        <td>1-3</td>-->
<!--        <td>1-4</td>-->
    </tr>
    <tr>
        <td rowspan="3">2-1</td>
        <td>2-2</td>
        <td>2-3</td>
        <td>2-4</td>
    </tr>
    <tr>
<!--        <td>3-1</td>-->
        <td>3-2</td>
        <td>3-3</td>
        <td>3-4</td>
    </tr>
    <tr>
<!--        <td>4-1</td>-->
        <td>4-2</td>
        <td>4-3</td>
        <td>4-4</td>
    </tr>
</table>

    <br>
    <table border="1.5" style="border-collapse: collapse ;text-align: center;">
        <tr>
            <td>1-1</td>
            <td>1-2</td>
            <td>1-3</td>
            <td rowspan="3">1-4</td>
        </tr>
        <tr>
            <td>2-1</td>
            <td>2-2</td>
            <td>2-3</td>
<!--            <td>2-4</td>-->
        </tr>
        <tr>
            <td>3-1</td>
            <td>3-2</td>
            <td>3-3</td>
<!--            <td>3-4</td>-->
        </tr>
        <tr>
            <td colspan="4">4-1</td>
<!--            <td>4-2</td>-->
<!--            <td>4-3</td>-->
<!--            <td>4-4</td>-->
        </tr>
    </table>

    <br>
    <table border="1" style="border-collapse: collapse ;">
        <caption>购物车</caption>
        <tr>
            <th>商品编号</th>
            <th>商品名称</th>
            <th>商品价格</th>
        </tr>
        <tr>
            <td>1</td>
            <td>荣耀x60</td>
            <td>2601</td>
        </tr>
        <tr>
            <td>2</td>
            <td>三折叠 怎么折都有面</td>
            <td>27399</td>
        </tr>
        <tr>
            <td>总价：</td>
            <td colspan="2">30000</td>
        </tr>
    </table>
</body>
</html>